package com.capybara.account.model.excel;


import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 用户
 *
 * @author wgc
 * @since 2024-09-14
 */
@Data
@ColumnWidth(20)
@ExcelIgnoreUnannotated
public class AuUserExcel {

    @ExcelProperty({"用户", "真实姓名"})
    private String actualName;
    @ExcelProperty({"用户", "身份证号码"})
    private String identityCard;
    @ExcelProperty({"用户", "手机号码"})
    private String phone;
    @ExcelProperty({"用户", "是否是系统用户"})
    private Integer isAccount;
    @ExcelProperty({"用户", "密码"})
    private String password;
    @ExcelProperty({"用户", "用户名"})
    private String userName;
    @ExcelProperty({"用户", "小程序ID"})
    private String openId;
    @ExcelProperty({"用户", "用户头像"})
    private String headPortrait;
    @ExcelProperty({"用户", "邮箱"})
    private String email;
    @ExcelProperty({"用户", "有效期"})
    private LocalDateTime accountNonExpired;
    @ExcelProperty({"用户", "启动"})
    private Integer enabled;
    @ExcelProperty({"用户", "0 男 1 女"})
    private Integer sex;
    @ExcelProperty({"用户", "设备号登录用设备号"})
    private String deviceId;
    @ExcelProperty({"用户", "nfc"})
    private String nfc;
    @ExcelProperty({"用户", "是否已经修改密码 0 没有修改 1 已经修改"})
    private Integer isChangePwd;
    @ExcelProperty({"用户", "附属部门"})
    private String affiliatedDepartments;
    @ExcelProperty({"用户", "员工工号"})
    private String staffWorkflowid;
    @ExcelProperty({"用户", "出生日期"})
    private LocalDateTime beBornDate;
    @ExcelProperty({"用户", "婚姻状况(1已婚，2未婚)"})
    private Integer maritalStatus;
    @ExcelProperty({"用户", "入职时间"})
    private LocalDateTime entryDate;
    @ExcelProperty({"用户", "学历"})
    private String education;
    @ExcelProperty({"用户", "是否离岗(1是，2否)"})
    private Integer whetherDepart;
    @ExcelProperty({"用户", "是否增加用户(1是，2否)"})
    private Integer whetherUser;
    @ExcelProperty({"用户", "部门"})
    private String deptId;
    @ExcelProperty({"用户", "签字"})
    private String sign;
    @ExcelProperty({"用户", "手机识别码IMEI"})
    private String mobileMe;
    @ExcelProperty({"用户", "是否停用(1启用；2停用)"})
    private Integer isStartStop;
}
